<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <div class="tab_box whitebg">
      <div class="tab_buttons">
        <ul>
        <c:forEach items="${types}" var="t">
       <!--  <li class="newscurrent">${t.tname}</li>  --> 
                    <li class="newscurrent"><a href="/index.html?tid=${t.tid}">${t.tname}</a></li>
          
          </c:forEach>
        </ul>
      </div>
 
         
 
       
      
     
       
           <div class="newstab">
           <div class="newsitem">
             <div class="newspic">
                 <ul>
            <c:forEach items="${blogbytypeid}" var="bd" begin="0" end="1">
        
        
              <li><a href="/blogcontent.html?id=${bd.id}"><img src="${bd.imageurl}"><span>${bd.title}</span></a></li>

  
        
               </c:forEach>
                         </ul>
                 </div>
          <ul class="newslist">
            <c:forEach items="${blogbytypeids}" var="bd" begin="0" end="4">
            <li><i></i><a href="/blogcontent.html?id=${bd.id}">${bd.keyword}</a>
              <p>${bd.summary}</p>
            </li>
             </c:forEach>
          </ul>
           </div>
                   </div>
     
       
       
        
      
       
 
    </div>
  